#Have to DEFINE before include this pri
#DEPENDLIB_NAME = (lib's name)
INCLUDEPATH += $$PWD/../$$DEPENDLIB_NAME/include
CONFIG(debug,debug|release):{
    linux{
        contains(QT_ARCH,i386){
            LIBS += -L$$PWD/../../output/debug/bin/ '-l'$$DEPENDLIB_NAME'd'
            DEPENDPATH += $$PWD/../../output/debug/bin/
        }
        else{
            LIBS += -L$$PWD/../../output/debug/bin/ '-l'$$DEPENDLIB_NAME'd'
            DEPENDPATH += $$PWD/../../output/debug/bin/
        }
    }
    else{
        #LIBS += libws2_32
        contains(QT_ARCH,i386){
            LIBS += -L$$PWD/../../output/debug/bin/ '-l'$$DEPENDLIB_NAME'd'
            DEPENDPATH += $$PWD/../../output/debug/bin/
        }
        else{
            LIBS += -L$$PWD/../../output/debug/bin/ '-l'$$DEPENDLIB_NAME'd'
            DEPENDPATH += $$PWD/../../output/debug/bin/
        }
    }
}else:CONFIG(release,debug|release):{
    linux{
        contains(QT_ARCH,i386){
            LIBS += -L$$PWD/../../output/debug/bin/ '-l'$$DEPENDLIB_NAME
            DEPENDPATH += $$PWD/../../output/debug/bin/
        }
        else{
            LIBS += -L$$PWD/../../output/debug/bin/ '-l'$$DEPENDLIB_NAME
            DEPENDPATH += $$PWD/../../output/debug/bin/
        }
    }
    else{
        #LIBS += libws2_32
        contains(QT_ARCH,i386){
            LIBS += -L$$PWD/../../output/debug/bin/ '-l'$$DEPENDLIB_NAME
            DEPENDPATH += $$PWD/../../output/debug/bin/
        }
        else{
            LIBS += -L$$PWD/../../output/debug/bin/ '-l'$$DEPENDLIB_NAME
            DEPENDPATH += $$PWD/../../output/debug/bin/
        }
    }
}
